<?php
class Model_Table_Person
{
	//attributes
	private $person_id;
	private $first_name;
	private $last_name;
	private $home_phone_number;
	private $email;
	private $role;
	private $gender;
	private $cell_phone_number;
	private $cell_phone_carrier;

	//Constructor
	public function __construct($personId, $firstName, $lastName, $homePhoneNumber, $email, $role, $gender, $cellPhoneNumber, $cellPhoneCarrier)
	{
		$this->person_id=$personId;
		$this->first_name=$firstName;
		$this->last_name=$lastName;
		$this->home_phone_number=$homePhoneNumber;
		$this->email=$email;
		$this->role=$role;
		$this->gender=$gender;
		$this->cell_phone_number=$cellPhoneNumber;
		$this->cell_phone_carrier=$cellPhoneCarrier;
		
	}
	
	//accessor and mutator
	public function getPersonId()
	{
		return $this->person_id;
	}
	public function setPersonId($personId)
	{
		$this->person_id=$personId;
	}
	
	public function getFirstName()
	{
		return $this->first_name;
	}
	public function setFirstName($firstName)
	{
		$this->first_name=$firstName;
	}
	
	public function getLastName()
	{
		return $this->last_name;
	}
	public function setLastName($lastName)
	{
		$this->last_name=$lastName;
	}
	
	public function getHomePhoneNumber()
	{
		return $this->home_phone_number;
	}
	public function setHomePhoneNumber($homePhoneNumber)
	{
		$this->home_phone_number=$homePhoneNumber;
	}
	
	public function getEMail()
	{
		return $this->email;
	}
	public function setEMail($eMail)
	{
		$this->email=$eMail;
	}
	
	public function getRole()
	{
		return $this->role;
	}
	public function setRole($role)
	{
		$this->role=$role;
	}
	
	public function getGender()
	{
		return $this->gender;
	}
	public function setGender($gender)
	{
		$this->gender=$gender;
	}
	
	public function getCellPhoneNumber()
	{
		return $this->cell_phone_number;
	}
	public function setCellPhoneNumber($cellPhoneNumber)
	{
		$this->cell_phone_number=$cellPhoneNumber;
	}
	
	public function getCellPhoneCarrier()
	{
		return $this->cell_phone_carrier;
	}
	public function setCellPhoneCarrier($cellPhoneCarrier)
	{
		$this->cell_phone_carrier=$cellPhoneCarrier;
	}
}
